package com.haojiang.mh.remote.base

/**
 * 所有下拉刷新，上拉加载更多列表界面presenter的基类
 */
interface IBaseListPresenter {
    companion object {
        val TYPE_LOAD_DATA = 1
        val TYPE_LOAD_MORE = 2
    }

    //加载数据
    fun loadData()
    //加载更多
    fun loadMore(pos: Int)
    //解绑view和presenter
    fun releaseView()
}